package com.teradyne.merlin2.ui.client.activities;

import com.google.gwt.activity.shared.AbstractActivity;
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.AcceptsOneWidget;
import com.teradyne.merlin2.ui.client.views.OrderListView;

public class OrderListActivity extends AbstractActivity implements
		OrderListView.Presenter {

	private final OrderListView view;

	public OrderListActivity(OrderListView view) {
		this.view = view;
	}

	@Override
	public void start(AcceptsOneWidget container, EventBus eventBus) {
		container.setWidget(view.asWidget());
		view.setPresenter(this);
	}

}